package com.buddy.sds.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buddy.sds.auth.entity.SystemRole;

import java.util.List;

public interface ISystemRoleService  extends IService<SystemRole> {

    List<SystemRole> getRoleListByUser(String user_id,boolean includePermission);

    List<String> getRoleNameList(String user_id);

    boolean roleExists(String role_name);

    void deleteCascade(String role_id);
}
